package com.yuexunxinxi.carefree.service.a_carousel;

import com.yuexunxinxi.carefree.dao.ACarouselMapper;
import com.yuexunxinxi.carefree.entity.ACarousel;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 作者: 李咨辰
 * 文件名: ACarouselServiceImpl.java
 * 路径: com.yuexunxinxi.carefree.service.carousel
 * 时间: 2024-10-10 10:30
 * 版本: 1.0
 * 描述: TODO 轮播图
 **/
@Service
public class ACarouselServiceImpl implements ACarouselService {
    /**
     * 调用dao层
     */
    @Resource
    private ACarouselMapper aCarouselMapper;

    /**
     * 获取全部轮播图
     *
     * @return 轮播图数组对象
     */
    @Override
    public List<ACarousel> getCarouselList() {
        return aCarouselMapper.getCarouselList();
    }
}
